            
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>套餐详情</title>
    <link rel="stylesheet" href="{$CSS}/bootstrap3.3.7.min.css">
    <style>
         td,th{
             text-align: center;vertical-align: middle !important;
             border-color:#C1DAD7 !important;
        }
        td input{
            width:50% !important;
            margin: 0 auto;
        }
        .info{
            background: #D5EDEF
        }
        .table-bordered{
            border-color:#D5EDEF
        }
    </style>
</head>

<body>
    <div style="padding:10px;border-bottom:1px solid #eee;font-size:15px;font-weight:700">用户套餐设置
</div>
    <div style="padding:20px">
       <form class="form-horizontal form-group" action="" method="post">
            <table class="table table-bordered table-hover">
              <thead>
                <tr class="info">
                  <th class="col-md-5">套餐类型</th>
                  <th class="col-md-5">套餐价格（年）</th>
                  <th class="col-md-5">员工上限数量</th>
                </tr>
              </thead>
              <tbody>
			          {loop $utxt_arr as $utxt}
                <tr>
                  <td>{$utxt['typename']}</td>
                  <td>
					           <input type="text" class="form-control" value="{array_key_exists($utxt['id'],$price_arr)?$price_arr[$utxt['id']]:1000}" required="required" name="price@{$utxt['id']}" oninput = "value=value.replace(/[^\d]/g,'')"/>
                  </td>
                  <td>
                     <input type="text" class="form-control" value="{array_key_exists($utxt['id'],$qouta_arr)?$qouta_arr[$utxt['id']]:1000}" required="required" name="qouta@{$utxt['id']}" oninput = "value=value.replace(/[^\d]/g,'')"/>
                  </td>
                </tr>
                {/loop}
              </tbody>
            </table>
            <button  ID="btnAdd" class="btn btn-primary" type="submit">提交</button>
        </form>    
    </div>	
</body>
</html>